<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">

  <title>AVCliper Concat Media</title>
  <link href="https://hughfenghen.github.io/font/noto-sans.css" rel="stylesheet">

  <style>
    #app {
      width: 900px;
      height: 500px;
      margin: 50px 50px;
      overflow: hidden;
      position: relative;
    }

    canvas {
      width: 900px;
      height: 500px;
    }
  </style>
</head>

<body>
  <!-- <canvas id="canvas" width="1280" height="720"></canvas> -->
  <!-- <br> -->
  <button id="mp4-img">mp4 + img</button>
  <button id="mp4-mp3">mp4 + mp3</button>
  <button id="gif-m4a">gif + m4a</button>
  <button id="mix-audio">mixin audio</button>
  <button id="concat-audio">concat audio</button>
  <button id="mp4-srt">mp4 + srt</button>
  <button id="mp4-chromakey">mp4(chromakey)</button>
  <span> | </span>
  <button id="complex">composite and concat video</button>
  <span> | </span>
  <button id="test-mem-cost">test mem cost</button>
  <p />
  <div id="player-container">
  </div>
  <hr>
  <script type="module" src="concat-media.ts"></script>
  <script src="https://cdn.jsdelivr.net/npm/opfs-tools-explorer"></script>
  <script>
    OTExplorer.init();
  </script>

</body>

</html>